/**
 * There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation
 */
package com.chlitina.store.modules.sms.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.chlitina.store.common.persistence.BaseEntity;

/**
 * 短信顾客模板Entity
 * @author liujiang
 * @version 2013-06-21
 */
@Entity
@Table(name = "sms_template")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class SmsTemplate extends BaseEntity {
	public static final String BALANCE_TEMPLATE = "SMS_TEMPLATE_BALANCE_TIP";
	public static final String BIRTHDAY_TEMPLATE = "SMS_TEMPLATE_CUSTOMER_BIRTHDAY";
	public static final String PRODUCT_CARE_TEMPLATE = "SMS_TEMPLATE_PRODUCT_CARE_NOTIFY";
	public static final String STORE_DAILY_TEMPLATE = "SMS_TEMPLATE_STORE_DAILY_REPORT";
	public static final String NEW_STORE_TEMPLATE = "SMS_TEMPLATE_NEW_STORE_NOTIFY";
	public static final String CUSTOMER_CONFIRM = "SMS_TEMPLATE_CUSTOMER_SOLUTION_CONFIRM";
	public static final String SOLUTION_CARE = "SMS_TEMPLATE_CUSTOMER_SOLUTION_CARE";
	public static final String SOLUTION_PRODUCT = "SMS_TEMPLATE_CUSTOMER_SOLUTION_PRODUCT";
	
	
	private static final long serialVersionUID = 1L;
	private Long id; 		// 客户短信模板编号
	private String template_code; 	// 客户短信模板代码
	private String template; // 客户短信模板内容

	public SmsTemplate() {
	}

	public SmsTemplate(Long id){
		this();
		this.id = id;
	}
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTemplate_code() {
		return template_code;
	}

	public void setTemplate_code(String template_code) {
		this.template_code = template_code;
	}

	public String getTemplate() {
		return template;
	}

	public void setTemplate(String template) {
		this.template = template;
	}
}


